<template>
	<es-city-select :hotCity="hotCity" @change="onChange"/>
</template>

<script>
	import esCitySelect from '@/components/es-city-select/es-city-select.vue';
	export default {
		components: {
			esCitySelect
		},
		data() {
			return {
				hotCity: ['福州', '莆田', '厦门']
			}
		},
		methods:{
			onChange(city){
				uni.showToast({
					icon:"none",
					title:city
				})
			}
		}
	}
</script>

<style>

</style>